local assets = {Asset("ANIM", "anim/swap_obrsword_fx.zip")}

local function sfxfn()
    local inst = CreateEntity()

    inst.entity:AddTransform()
    inst.entity:AddAnimState()
    inst.entity:AddFollower()
    inst.entity:AddNetwork()
    inst:AddTag("FX")
    inst.AnimState:SetBank("swap_obrsword_fx")
    inst.AnimState:SetBuild("swap_obrsword_fx")
    inst.AnimState:PlayAnimation("idle")
    inst.AnimState:SetLightOverride(.1)

    inst.entity:SetPristine()

    if not TheWorld.ismastersim then
        return inst
    end

    inst.persists = false

    return inst
end

return Prefab("swap_obrsword_fx", sfxfn, assets)
